package com.ourhours.message.rpc.reference.emailapache;

import com.ourhours.message.utils.EmailUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
@Component
@Slf4j
public class EmailApacheRpc {

    public void sendEmail(String[] toAddress, String title, String content, String account, String pass
            , String host, String accountName, String[] localAttachment, String[] networkAttachment){
        EmailUtils.sendEmail(toAddress, title, content, account, pass
                , host, accountName, localAttachment, networkAttachment);
    }
}
